-
Notifications
You must be signed in to change notification settings - Fork 20.8k
Add ElGamalCipher implementing ElGamal encryption and decryption #7064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add ElGamalCipher implementing ElGamal encryption and decryption #7064
Conversation
|
Hi maintainers 👋, |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7064 +/- ##
============================================
- Coverage 78.46% 78.41% -0.06%
Complexity 6746 6746
============================================
Files 758 759 +1
Lines 22339 22354 +15
Branches 4384 4384
============================================
Hits 17528 17528
- Misses 4107 4122 +15
Partials 704 704 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
✅ All checks have passed successfully. |
1 similar comment
|
✅ All checks have passed successfully. |
|
✅ All checks have passed successfully. |
|
✅ All checks have passed successfully. |
|
@polasisubash Please always add a corresponding test class to your implementation |
Description
Added a new class
ElGamalCipher.javaimplementing the ElGamal encryption and decryption algorithm.Features
Example Output
Original: 12345
Encrypted: (c1, c2 values)
Decrypted: 12345
Technical Notes
src/main/java/com/thealgorithms/ciphers/References
Checklist